package com.bs.qxglmanager.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bs.qxglmanager.entity.User;
import com.bs.qxglmanager.mapper.UserMapper;
import com.bs.qxglmanager.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 小蕾
 * @pakeageName:com.bs.qxglmanager.service
 * @ClassName:UserServiceImpl
 * @Descirption:
 * @data 2023/2/22 13:30
 */

@Service
public class UserServiceImpl implements UserService {
    @Resource
    UserMapper mapper;


    @Override
    public List<User> usergetAll() {
        return mapper.usergetAll();
    }

    @Override
    public User userAdd(User user) {
        return mapper.userAdd(user);
    }

    @Override
    public User userUpdate(User user) {
        return mapper.userUpdate(user);
    }


    @Override
    public User userDel(String id) {
        return mapper.userDel(id);
    }
}
